package demo.aop;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created with IntelliJ IDEA.
 * User: supereme
 * Date: 8/26/13
 * Time: 2:27 AM
 * To change this template use File | Settings | File Templates.
 */
public class App {

    public static void main(String args[]) {
        ApplicationContext context = new ClassPathXmlApplicationContext(
                "application-context.xml");

        CustomerBo customer = (CustomerBo) context.getBean("customerBo");
        customer.addCustomer();

    }
}
